package com.minelx.woods.server.dao;

import com.mongodb.client.MongoCollection;
import org.bson.Document;

public class ReviewerMappings {
	private final MongoCollection<Document> reviewerMappingsCollection;

	public ReviewerMappings(MongoCollection<Document> reviewerMappingsCollection) {
		this.reviewerMappingsCollection = reviewerMappingsCollection;
	}

	public ReviewerMapping id(String userName) {
		return new ReviewerMapping(reviewerMappingsCollection, userName);
	}
}
